<%@ page language="java" contentType="text/html; charset=ISO-8859-1"  pageEncoding="ISO-8859-1"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<table>
	<tr>
		<td>
		Height
		</td>
		<td>
			<input type="text" value="${(not empty user) && (not empty user.actor) ? user.actorFeatures.height : ''}" name="height" />	* (cm)
		</td>
	</tr>
	<tr>
		<td>
		Weight
		</td>
		<td>
			<input type="text" value="${(not empty user) && (not empty user.actor) ? user.actorFeatures.weight : ''}" name="weight" />	* (kg)
		</td>
	</tr>
	<tr>
		<td>
		Hair
		</td>
		<td>
			<select name="hair">
			  <option ${(not empty user) && (user.actorFeatures.hairColor == 'blond') ? 'selected=selected' : ''}  value="blond">Blond</option>
			  <option ${(not empty user) && (user.actorFeatures.hairColor == 'red') ? 'selected=selected' : ''}  value="red">Red</option>
			  <option ${(not empty user) && (user.actorFeatures.hairColor == 'brown') ? 'selected=selected' : ''}  value="brown">Brown</option>
			  <option ${(not empty user) && (user.actorFeatures.hairColor == 'gray') ? 'selected=selected' : ''}  value="gray">Gray</option>
			  <option ${(not empty user) && (user.actorFeatures.hairColor == 'auburn') ? 'selected=selected' : ''}  value="auburn">Auburn</option>
			  <option ${(not empty user) && (user.actorFeatures.hairColor == 'black') ? 'selected=selected' : ''} value="black">Black</option>
			  <option ${(not empty user) && (user.actorFeatures.hairColor == 'chestnut') ? 'selected=selected' : ''}  value="chestnut">Chestnut</option>
			  <option ${(not empty user) && (user.actorFeatures.hairColor == 'white') ? 'selected=selected' : ''}  value="white">White</option>
			</select>
		</td>
	</tr>
	<tr>
		<td>
		Skin
		</td>
		<td>
			<select name="skin">
			  <option ${(not empty user) && (user.actorFeatures.skinColor == 'white') ? 'selected=selected' : ''}  value="white">White</option>
			  <option ${(not empty user) && (user.actorFeatures.skinColor == 'light') ? 'selected=selected' : ''}  value="light">Light</option>
			  <option ${(not empty user) && (user.actorFeatures.skinColor == 'brown') ? 'selected=selected' : ''}  value="brown">Brown</option>
			  <option ${(not empty user) && (user.actorFeatures.skinColor == 'black') ? 'selected=selected' : ''}  value="black">Black</option>
			</select>
		</td>
	</tr>
	<tr>
		<td>
		Eyes
		</td>
		<td>
			<select name="eyes">
				<option ${(not empty user) && (user.actorFeatures.eyeColor == 'blue') ? 'selected=selected' : ''}  value="blue">Blue</option>
			  <option ${(not empty user) && (user.actorFeatures.eyeColor == 'green') ? 'selected=selected' : ''}  value="green">Green</option>
			  <option ${(not empty user) && (user.actorFeatures.eyeColor == 'brown') ? 'selected=selected' : ''}  value="brown">Brown</option>
			  <option ${(not empty user) && (user.actorFeatures.eyeColor == 'amber') ? 'selected=selected' : ''}  value="amber">Amber</option>
			  <option ${(not empty user) && (user.actorFeatures.eyeColor == 'gray') ? 'selected=selected' : ''}  value="gray">Gray</option>
			  <option ${(not empty user) && (user.actorFeatures.eyeColor == 'hazel') ? 'selected=selected' : ''}  value="hazel">Hazel</option>
			  <option ${(not empty user) && (user.actorFeatures.eyeColor == 'violet') ? 'selected=selected' : ''}  value="violet">Violet</option>
			  <option ${(not empty user) && (user.actorFeatures.eyeColor == 'black') ? 'selected=selected' : ''}  value="black">Black</option>
			</select>
		</td>
	</tr>
</table>